package com.dlsp.hotel.service.admin;

import com.dlsp.hotel.bean.admin.User;

import java.util.List;
import java.util.Map;

/**
 * @author:fanxh
 * @date: 2022/1/2/9:36
 * 用户sevice
 */
public interface UserService {
     User findByUsername(String username);
     User login(String username,String password);
     int add(User user);
     int edit(User user);
     int editPassword(User user);
     int delete(String ids);
     List<User> findList(Map<String, Object> queryMap);
     int getTotal(Map<String, Object> queryMap);
}
